import request from '@/utils/request'

// 查询投后评价列表
export function listDealAfterInvestEvaluation(query) {
  return request({
    url: '/evaluation/afterInvestEvaluation/list',
    method: 'get',
    params: query
  })
}

export function trackInfo(query) {
  return request({
    url: '/evaluation/afterInvestEvaluation/trackInfo',
    method: 'get',
    params: query
  })
}

// 查询投后评价详细
export function getDealAfterInvestEvaluation(id) {
  return request({
    url: '/evaluation/afterInvestEvaluation/' + id,
    method: 'get'
  })
}

// 查询投后评价详细
export function getChangeList(params) {
  return request({
    url: '/evaluation/afterInvestEvaluation/change/list',
    method: 'get',
    params: params
  })
}

// 查询投后评价详细
export function getChange(id) {
  return request({
    url: '/evaluation/afterInvestEvaluation/change/' + id,
    method: 'get'
  })
}

// 保存投后评价
export function saveDealAfterInvestEvaluation(data) {
  return request({
    url: '/evaluation/afterInvestEvaluation/save',
    method: 'post',
    data: data
  })
}

// 删除投后评价
export function delDealAfterInvestEvaluation(id) {
  return request({
    url: '/evaluation/afterInvestEvaluation/' + id,
    method: 'delete'
  })
}

// 导出投后评价
export function exportDealAfterInvestEvaluation(query) {
  return request({
    url: '/evaluation/afterInvestEvaluation/export',
    method: 'get',
    params: query
  })
}
